<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
  <th:block th:include="pc/include :: header('个人中心')" />

  <link th:href="@{/js/ui-table/ui-table.css}" rel="stylesheet"/>
</head>
<body>
<th:block th:include="pc/include :: top" />
<div class="iw">
  <div class="crumbs">
    <p>当前位置：<a href="/">首页</a> > 个人中心</p>
  </div>
  <div class="center_left">
    <th:block th:include="pc/include :: menu" />
  </div>
  <div class="center_right">
    <th:block th:include="pc/include :: menuheader" />
    <div class="center_mydoc">
    </div>
  </div>
</div>
<th:block th:include="pc/include :: footer" />

<script th:src="@{/js/ui_stable/ui_stable.js}"></script>
<script>
  var url = "/user/getdoc/[(${sysmember.userid})]";
  var opts = {
    pagesize: 20,
    pageNum: 1
  };
  var setting = {
    header: '<td d="title" style="min-width:100px;">标题</td>' +
            '<td d="typename" style="min-width:60px">分类</td>' +
            '<td d="readpay" style="min-width:60px;">阅读币</td>' +
            '<td d="downpay" style="min-width:60px;">下载币</td>' +
            '<td d="readcount" style="min-width:60px;">阅读量</td>' +
            '<td d="downcount" style="min-width:60px;">下载量</td>' +
            '<td d="isimp" style="min-width:60px;">标识</td>' +
            '<td d="insertdate" style="min-width:60px;">日期</td>' +
            '<td d="insertdate" style="min-width:60px;">审核</td>' +
            '<td style="min-width:60px;">操作</td>',

    body: '<td><i class="#exten"></i><a href="/detail.htm?docid=#docid" target="_blank">#title</a></td>' +
            '<td>#typename</td>' +
            '<td>#readpay </td>' +
            '<td>#note</td>' +
            '<td>#readcount</td>' +
            '<td>#downcount</td>' +
            '<td>#info</td>' +
            '<td>#keyword</td>' +
            '<td>#indify</td>'+
            '<td>[(${editdel})]</td>'

  };
  $(".center_mydoc").ui_stable(url, opts, setting);
</script>
